package com.then.component.club.db.location;

import android.arch.persistence.room.Database;
import android.arch.persistence.room.RoomDatabase;

import com.then.component.club.entity.Area;
import com.then.component.club.entity.City;
import com.then.component.club.entity.Country;
import com.then.component.club.entity.Province;

/**
 * Created by 42524 on 2018/2/8.
 */
@Database(entities = {Area.class, Country.class, Province.class, City.class}, version = 1, exportSchema = false)
public abstract class LocationDB extends RoomDatabase {

    abstract public ProvinceDao provinceDao();

    abstract public AreaDao areaDao();

    abstract public CountryDao countryDao();

    abstract public CityDao cityDao();
}
